package com.spsoft.core.model;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 分页传递参数
 *
 * @author zjh
 * @version V1.0.0
 * @date 2020-8-31 10:36
 * @since 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@ApiModel(value = "分页参数")
public class PageDto {
    private static final long serialVersionUID = -3976451697974903824L;
    /**
     * 当前页数，从1开始
     */
    @ApiModelProperty(value = "当前页数，从1开始")
    private Integer pageNo = 1;
    /**
     * 每页大小
     */
    @ApiModelProperty(value = "每页大小")
    private Integer pageSize = 100;


}
